.btn-s {}

button {
    outline: none;
}

// 输入框备选选项按钮
.btn-alt {
    padding: 2px 2px 2px 2px;
    height: 22px;
    width: 70px;
    font-size: 14px;
    border: 1px solid #aaaaaa;
    color: #777777;
    background-color: #ffffff;
    &:hover {
        background-color: #f5f5f5;
    }
    &:active {
        background-color: #dddddd;
    }
}

// 规格输入框的小型提交按钮
.btn-submit-s {
    height: 25px;
    width: 130px;
    padding-bottom: 2px;
    border: none;
    font-size: 16px;
    color: white;
    background-color: $btnSubmitColor;
    &:hover {
        background-color: darken($btnSubmitColor, 5%);
    }
    &:active {
        background-color: darken($btnSubmitColor, 15%);
    }
}

// 页面总提交按钮
.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    /*width: 159px;*/
    padding-left: 48px;
    padding-right: 48px;
    padding-bottom: 2px;
    border: none;
    font-size: 15px;
    color: white;
    background-color: $btnSubmitColor;
    cursor: pointer;
    margin-right: 10px;
    &:hover {
        background-color: darken($btnSubmitColor, 5%);
    }
    &:active {
        background-color: darken($btnSubmitColor, 15%);
    }
    img {
        margin-right: 10px;
    }
}

.btn-back {
    border: none;
    outline: none;
    color: #fff;
    background: $subthemeColor;
    height: 50px;
    padding: 0 24px;
    font-size: 13px;
    flex-shrink: 0;
    &:hover {
        background: darken($subthemeColor, 5%);
    }
}

//根据bootstart 修改自定义按钮颜色
.xy-btn {
    //红色按钮
    &.xy-btn-orange {
        background: $btnSubmitColor;
        color: white;
        &:hover {
            background-color: darken($btnSubmitColor, 5%);
        }
        &:active {
            background-color: darken($btnSubmitColor, 15%);
        }
    }
    &.xy-btn-green {
        background: $subthemeColor;
        color: white;
        &:hover {
            background-color: darken($subthemeColor, 5%);
        }
        &:active {
            background-color: darken($subthemeColor, 15%);
        }
    }
    &.xy-btn-default {
        &.green {
            border-color: $subthemeColor;
            color: #000000;
            &:hover {
                color: #333;
                background-color: #e6e6e6;
                border-color: #adadad;
            }
        }
        &.orange {
            border-color: $btnSubmitColor;
            color: #000000;
            &:hover {
                color: #333;
                background-color: #e6e6e6;
                border-color: #adadad;
            }
        }
    }
}
.notAllowed {
    cursor: not-allowed;
}